package br.brpv.silvestrin.vendas.domain;

/**
 * Created with IntelliJ IDEA.
 * User: paulo
 * Date: 5/21/12
 * Time: 3:44 PM
 * To change this template use File | Settings | File Templates.
 */
public class PaymentForm  implements OrderParam{
    String id;
    String cod;
    String description;
    String qtde_parc; //quantidade de parecelas
    String perc_dif;

    public PaymentForm(String id, String cod, String description, String qtde_parc, String perc_dif) {
        this.id = id;
        this.cod = cod;
        this.description = description;
        this.qtde_parc = qtde_parc;
        this.perc_dif = perc_dif;
    }

    @Override
    public String getText() {
        return description;  //To change body of implemented methods use File | Settings | File Templates.
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getCod() {
        return cod;
    }

    public void setCod(String cod) {
        this.cod = cod;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getQtde_parc() {
        return qtde_parc;
    }

    public void setQtde_parc(String qtde_parc) {
        this.qtde_parc = qtde_parc;
    }

    public String getPerc_dif() {
        return perc_dif;
    }

    public void setPerc_dif(String perc_dif) {
        this.perc_dif = perc_dif;
    }

    @Override
    public String toString() {
        return description;
    }
}
